#pragma once
#ifndef INPUTMOUSE_H
#define INPUTMOUSE_H

//directinput
#define DIRECTINPUT_VERSION 0x0800
#include <dinput.h>

#include "Input.h"

class CInputMouse: public CInput
{
private:

	//mouse device
	LPDIRECTINPUTDEVICE8 m_diMouseDevice;

	//state of the mouse
	DIMOUSESTATE2 m_mouseState;

public:
	CInputMouse(void);
	~CInputMouse(void);

	bool initialise(const LPDIRECTINPUT8 diObject);
	bool initialiseActionMapping(Element root);
	void doUpdate(void);
};

#endif
